xen/multicall: Rework arch multicall handling
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 26 Jan 2015 14:30:43 +0000 (14:30 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 6 Sep 2016 12:34:55 +0000 (13:34 +0100)
commitde82feebf2c1fb303b13948130f588031e0215c1
tree715c02069eb64e48dd65b584b91dad9ed6d4965b
parent222560eb0d0e03437a337f221e3cbf771bc32a0d
xen/multicall: Rework arch multicall handling

The x86 multicall handling was previously some very hairy inline assembly, and
is hard to follow and maintain.

Replace the existing do_multicall_call() with arch_do_multicall_call().  The
x86 side needs to handle both compat and non-compat calls, so pass the full
multicall state, rather than just the multicall_entry sub-structure.

On the ARM side, alter the prototype to match, but there is no resulting
functional change.  On the x86 side, the implementation is now in plain C.

This allows the removal of both asm/multicall.h header files.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/arm/traps.c
xen/arch/x86/hypercall.c
xen/common/multicall.c
xen/include/asm-arm/multicall.h [deleted file]
xen/include/asm-x86/multicall.h [deleted file]
xen/include/xen/multicall.h